home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Frank Lloyd Wright Companion
/
The Frank Lloyd Wright Companion.iso
/
fullmacapps
/
macfllwc_small.sit
/
MacFLLWC_Small
/
flw.mvb.rsrc
/
CODE_20_QH ZoomRect.txt
< prev
next >
Wrap
Text File
|
1995-09-30
|
28KB
|
502 lines
# near model CODE resource
# jump table entries: 63264-63267 (4 of them)
00000000 FFFF .extension 0xFFF // unimplemented
00000002 F720 .extension 0x720 // unimplemented
00000004 0000 0546 ori.b D0, 0x46 /* 'F' */
00000008 48E7 1E3A movem.l -[A7], D3,D4,D5,D6,A2,A3,A4,A6
0000000C 4FEF FF6C lea.l A7, [A7 - 0x94]
00000010 266F 00B8 movea.l A3, [A7 + 0xB8]
00000014 246F 00BC movea.l A2, [A7 + 0xBC]
00000018 7A02 moveq.l D5, 0x02
0000001A 4EBA 04A6 jsr [PC + 0x4A6 /* 000004C2 */]
0000001E 594F subq.w A7, 4
00000020 2EB8 09EE move.l [A7], [0x000009EE /* GrayRgn */]
00000024 205F movea.l A0, [A7]+
00000026 2C48 movea.l A6, A0
00000028 2008 move.l D0, A0
0000002A 6700 0188 beq +0x18A /* 000001B4 */
0000002E 4857 pea.l [A7]
00000030 A874 syscall GetPort
00000032 486F 0004 pea.l [A7 + 0x4]
00000036 A86F syscall OpenPort
00000038 2F0E move.l -[A7], A6
0000003A A879 syscall SetClip
0000003C 2F0E move.l -[A7], A6
0000003E 2F2F 0020 move.l -[A7], [A7 + 0x20]
00000042 A8DC syscall CopyRgn
00000044 2856 movea.l A4, [A6]
00000046 548C addq.l A4, 2
00000048 302C 0002 move.w D0, [A4 + 0x2]
0000004C 48C0 ext.l D0
0000004E 322C 0006 move.w D1, [A4 + 0x6]
00000052 48C1 ext.l D1
00000054 9280 sub.l D1, D0
00000056 3F01 move.w -[A7], D1
00000058 3014 move.w D0, [A4]
0000005A 48C0 ext.l D0
0000005C 322C 0004 move.w D1, [A4 + 0x4]
00000060 48C1 ext.l D1
00000062 9280 sub.l D1, D0
00000064 3F01 move.w -[A7], D1
00000066 A876 syscall PortSize
00000068 486D 15E0 pea.l [A5 + 0x15E0]
0000006C A89D syscall PenPat
0000006E 3F3C 000E move.w -[A7], 0xE
00000072 A89C syscall PenMode
00000074 4AAF 00C0 tst.l [A7 + 0xC0]
00000078 6728 beq +0x2A /* 000000A2 */
0000007A 2F53 0084 move.l [A7 + 0x84], [A3]
0000007E 2F6B 0004 0088 move.l [A7 + 0x88], [A3 + 0x4]
00000084 594F subq.w A7, 4
00000086 2F3C 0005 0006 move.l -[A7], 0x50006
0000008C A869 syscall FixRatio
0000008E 201F move.l D0, [A7]+
00000090 2C00 move.l D6, D0
00000092 594F subq.w A7, 4
00000094 2F3C 2710 021D move.l -[A7], 0x2710021D
0000009A A869 syscall FixRatio
0000009C 201F move.l D0, [A7]+
0000009E 2600 move.l D3, D0
000000A0 601E bra +0x20 /* 000000C0 */
label000000A2:
000000A2 2F52 0084 move.l [A7 + 0x84], [A2]
000000A6 2F6A 0004 0088 move.l [A7 + 0x88], [A2 + 0x4]
000000AC 594F subq.w A7, 4
000000AE 2F3C 0006 0005 move.l -[A7], 0x60005
000000B4 A869 syscall FixRatio
000000B6 201F move.l D0, [A7]+
000000B8 2C00 move.l D6, D0
000000BA 263C 0001 0000 move.l D3, 0x10000
label000000C0:
000000C0 2F6F 0084 0074 move.l [A7 + 0x74], [A7 + 0x84]
000000C6 2F6F 0088 0078 move.l [A7 + 0x78], [A7 + 0x88]
000000CC 2F6F 0084 007C move.l [A7 + 0x7C], [A7 + 0x84]
000000D2 2F6F 0088 0080 move.l [A7 + 0x80], [A7 + 0x88]
000000D8 486F 0084 pea.l [A7 + 0x84]
000000DC A8A1 syscall FrameRect
000000DE 7800 moveq.l D4, 0x00
000000E0 6000 00AE bra +0xB0 /* 00000190 */
label000000E4:
000000E4 2F03 move.l -[A7], D3
000000E6 3F2A 0002 move.w -[A7], [A2 + 0x2]
000000EA 3F2B 0002 move.w -[A7], [A3 + 0x2]
000000EE 4EBA 0404 jsr [PC + 0x404 /* 000004F4 */]
000000F2 3F40 0096 move.w [A7 + 0x96], D0
000000F6 2F03 move.l -[A7], D3
000000F8 3F2A 0006 move.w -[A7], [A2 + 0x6]
000000FC 3F2B 0006 move.w -[A7], [A3 + 0x6]
00000100 4EBA 03F2 jsr [PC + 0x3F2 /* 000004F4 */]
00000104 3F40 00A2 move.w [A7 + 0xA2], D0
00000108 2F03 move.l -[A7], D3
0000010A 3F12 move.w -[A7], [A2]
0000010C 3F13 move.w -[A7], [A3]
0000010E 4EBA 03E4 jsr [PC + 0x3E4 /* 000004F4 */]
00000112 3F40 00A4 move.w [A7 + 0xA4], D0
00000116 2F03 move.l -[A7], D3
00000118 3F2A 0004 move.w -[A7], [A2 + 0x4]
0000011C 3F2B 0004 move.w -[A7], [A3 + 0x4]
00000120 4EBA 03D2 jsr [PC + 0x3D2 /* 000004F4 */]
00000124 3F40 00B0 move.w [A7 + 0xB0], D0
00000128 486F 00AC pea.l [A7 + 0xAC]
0000012C A8A1 syscall FrameRect
0000012E 4A85 tst.l D5
00000130 4FEF 0020 lea.l A7, [A7 + 0x20]
00000134 6704 beq +0x6 /* 0000013A */
00000136 5385 subq.l D5, 1
00000138 6006 bra +0x8 /* 00000140 */
label0000013A:
0000013A 486F 0084 pea.l [A7 + 0x84]
0000013E A8A1 syscall FrameRect
label00000140:
00000140 4AAD CF88 tst.l [A5 - 0x3078]
00000144 6F18 ble +0x1A /* 0000015E */
00000146 2004 move.l D0, D4
00000148 7203 moveq.l D1, 0x03
0000014A 4EAD D910 jsr [A5 - 0x26F0]
0000014E 4A80 tst.l D0
00000150 660C bne +0xE /* 0000015E */
00000152 206D CF88 movea.l A0, [A5 - 0x3078]
00000156 43EF 0070 lea.l A1, [A7 + 0x70]
0000015A A03B syscall Delay
0000015C 2280 move.l [A1], D0
label0000015E:
0000015E 2F6F 007C 0084 move.l [A7 + 0x84], [A7 + 0x7C]
00000164 2F6F 0080 0088 move.l [A7 + 0x88], [A7 + 0x80]
0000016A 2F6F 0074 007C move.l [A7 + 0x7C], [A7 + 0x74]
00000170 2F6F 0078 0080 move.l [A7 + 0x80], [A7 + 0x78]
00000176 2F6F 008C 0074 move.l [A7 + 0x74], [A7 + 0x8C]
0000017C 2F6F 0090 0078 move.l [A7 + 0x78], [A7 + 0x90]
00000182 594F subq.w A7, 4
00000184 2F03 move.l -[A7], D3
00000186 2F06 move.l -[A7], D6
00000188 A868 syscall FixMul
0000018A 201F move.l D0, [A7]+
0000018C 2600 move.l D3, D0
0000018E 5284 addq.l D4, 1
label00000190:
00000190 7010 moveq.l D0, 0x10
00000192 B880 cmp.l D4, D0
00000194 6D00 FF4E blt -0xB0 /* 000000E4 */
00000198 486F 0084 pea.l [A7 + 0x84]
0000019C A8A1 syscall FrameRect
0000019E 486F 007C pea.l [A7 + 0x7C]
000001A2 A8A1 syscall FrameRect
000001A4 486F 0074 pea.l [A7 + 0x74]
000001A8 A8A1 syscall FrameRect
000001AA 486F 0004 pea.l [A7 + 0x4]
000001AE A87D syscall ClosePort
000001B0 2F17 move.l -[A7], [A7]
000001B2 A873 syscall SetPort
label000001B4:
000001B4 4FEF 0094 lea.l A7, [A7 + 0x94]
000001B8 4CDF 5C78 movem.l D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
000001BC 4E75 rts
000001BE 48E7 1820 movem.l -[A7], D3,D4,A2
000001C2 4FEF FFF4 lea.l A7, [A7 - 0xC]
000001C6 246F 0020 movea.l A2, [A7 + 0x20]
000001CA 262F 0024 move.l D3, [A7 + 0x24]
000001CE 7800 moveq.l D4, 0x00
000001D0 4EAD DD70 jsr [A5 - 0x2290]
000001D4 206F 001C movea.l A0, [A7 + 0x1C]
000001D8 2F50 0004 move.l [A7 + 0x4], [A0]
000001DC 2F68 0004 0008 move.l [A7 + 0x8], [A0 + 0x4]
label000001E2:
000001E2 486D 15F0 pea.l [A5 + 0x15F0]
000001E6 A89D syscall PenPat
000001E8 2F3C 0010 0010 move.l -[A7], 0x100010
000001EE A89B syscall PenSize
000001F0 486F 0004 pea.l [A7 + 0x4]
000001F4 A8A1 syscall FrameRect
000001F6 302F 0006 move.w D0, [A7 + 0x6]
000001FA B06A 0002 cmp.w D0, [A2 + 0x2]
000001FE 6C1C bge +0x1E /* 0000021C */
00000200 302F 0004 move.w D0, [A7 + 0x4]
00000204 B052 cmp.w D0, [A2]
00000206 6C14 bge +0x16 /* 0000021C */
00000208 302F 000A move.w D0, [A7 + 0xA]
0000020C B06A 0006 cmp.w D0, [A2 + 0x6]
00000210 6F0A ble +0xC /* 0000021C */
00000212 302F 0008 move.w D0, [A7 + 0x8]
00000216 B06A 0004 cmp.w D0, [A2 + 0x4]
0000021A 6E30 bgt +0x32 /* 0000024C */
label0000021C:
0000021C 2F3C 0001 0001 move.l -[A7], 0x10001
00000222 A89B syscall PenSize
00000224 486D 15E0 pea.l [A5 + 0x15E0]
00000228 A89D syscall PenPat
0000022A 486F 0004 pea.l [A7 + 0x4]
0000022E A8A1 syscall FrameRect
00000230 486F 0004 pea.l [A7 + 0x4]
00000234 2F3C FFF1 FFF1 move.l -[A7], 0xFFF1FFF1
0000023A A8A9 syscall InsetRect
0000023C 4A83 tst.l D3
0000023E 6F08 ble +0xA /* 00000248 */
00000240 2043 movea.l A0, D3
00000242 43D7 lea.l A1, [A7]
00000244 A03B syscall Delay
00000246 2280 move.l [A1], D0
label00000248:
00000248 5284 addq.l D4, 1
0000024A 6096 bra -0x68 /* 000001E2 */
label0000024C:
0000024C 4EAD DD78 jsr [A5 - 0x2288]
00000250 4FEF 000C lea.l A7, [A7 + 0xC]
00000254 4CDF 0418 movem.l D3,D4,A2, [A7]+
00000258 4E75 rts
0000025A 48E7 1820 movem.l -[A7], D3,D4,A2
0000025E 4FEF FFEC lea.l A7, [A7 - 0x14]
00000262 246F 0024 movea.l A2, [A7 + 0x24]
00000266 262F 002C move.l D3, [A7 + 0x2C]
0000026A 7800 moveq.l D4, 0x00
0000026C 4EAD DD70 jsr [A5 - 0x2290]
00000270 206F 0028 movea.l A0, [A7 + 0x28]
00000274 2F50 0004 move.l [A7 + 0x4], [A0]
00000278 2F68 0004 0008 move.l [A7 + 0x8], [A0 + 0x4]
0000027E 2F50 000C move.l [A7 + 0xC], [A0]
00000282 2F68 0004 0010 move.l [A7 + 0x10], [A0 + 0x4]
label00000288:
00000288 2F3C 0001 0001 move.l -[A7], 0x10001
0000028E A89B syscall PenSize
00000290 486D 15E0 pea.l [A5 + 0x15E0]
00000294 A89D syscall PenPat
00000296 486F 0004 pea.l [A7 + 0x4]
0000029A A8A1 syscall FrameRect
0000029C 2F3C 000F 000F move.l -[A7], 0xF000F
000002A2 A89B syscall PenSize
000002A4 486D 15F0 pea.l [A5 + 0x15F0]
000002A8 A89D syscall PenPat
000002AA 486F 000C pea.l [A7 + 0xC]
000002AE A8A1 syscall FrameRect
000002B0 486F 000C pea.l [A7 + 0xC]
000002B4 2F3C 000F 000F move.l -[A7], 0xF000F
000002BA A8A9 syscall InsetRect
000002BC 2F6F 000C 0004 move.l [A7 + 0x4], [A7 + 0xC]
000002C2 2F6F 0010 0008 move.l [A7 + 0x8], [A7 + 0x10]
000002C8 302A 0002 move.w D0, [A2 + 0x2]
000002CC 48C0 ext.l D0
000002CE 322F 000E move.w D1, [A7 + 0xE]
000002D2 48C1 ext.l D1
000002D4 740F moveq.l D2, 0x0F
000002D6 D282 add.l D1, D2
000002D8 B280 cmp.l D1, D0
000002DA 6F38 ble +0x3A /* 00000314 */
000002DC 3012 move.w D0, [A2]
000002DE 48C0 ext.l D0
000002E0 322F 000C move.w D1, [A7 + 0xC]
000002E4 48C1 ext.l D1
000002E6 D282 add.l D1, D2
000002E8 B280 cmp.l D1, D0
000002EA 6F28 ble +0x2A /* 00000314 */
000002EC 302A 0006 move.w D0, [A2 + 0x6]
000002F0 48C0 ext.l D0
000002F2 322F 0012 move.w D1, [A7 + 0x12]
000002F6 48C1 ext.l D1
000002F8 74F1 moveq.l D2, 0xFFFFFFF1
000002FA D282 add.l D1, D2
000002FC B280 cmp.l D1, D0
000002FE 6C14 bge +0x16 /* 00000314 */
00000300 302A 0004 move.w D0, [A2 + 0x4]
00000304 48C0 ext.l D0
00000306 322F 0010 move.w D1, [A7 + 0x10]
0000030A 48C1 ext.l D1
0000030C D282 add.l D1, D2
0000030E B280 cmp.l D1, D0
00000310 6D00 00AE blt +0xB0 /* 000003C0 */
label00000314:
00000314 302A 0002 move.w D0, [A2 + 0x2]
00000318 48C0 ext.l D0
0000031A 322F 000E move.w D1, [A7 + 0xE]
0000031E 48C1 ext.l D1
00000320 740F moveq.l D2, 0x0F
00000322 D282 add.l D1, D2
00000324 B280 cmp.l D1, D0
00000326 6F14 ble +0x16 /* 0000033C */
00000328 302A 0002 move.w D0, [A2 + 0x2]
0000032C 48C0 ext.l D0
0000032E 72F1 moveq.l D1, 0xFFFFFFF1
00000330 D081 add.l D0, D1
00000332 3F40 000E move.w [A7 + 0xE], D0
00000336 3F6A 0002 0006 move.w [A7 + 0x6], [A2 + 0x2]
label0000033C:
0000033C 302A 0006 move.w D0, [A2 + 0x6]
00000340 48C0 ext.l D0
00000342 322F 0012 move.w D1, [A7 + 0x12]
00000346 48C1 ext.l D1
00000348 74F1 moveq.l D2, 0xFFFFFFF1
0000034A D282 add.l D1, D2
0000034C B280 cmp.l D1, D0
0000034E 6C14 bge +0x16 /* 00000364 */
00000350 302A 0006 move.w D0, [A2 + 0x6]
00000354 48C0 ext.l D0
00000356 720F moveq.l D1, 0x0F
00000358 D081 add.l D0, D1
0000035A 3F40 0012 move.w [A7 + 0x12], D0
0000035E 3F6A 0006 000A move.w [A7 + 0xA], [A2 + 0x6]
label00000364:
00000364 3012 move.w D0, [A2]
00000366 48C0 ext.l D0
00000368 322F 000C move.w D1, [A7 + 0xC]
0000036C 48C1 ext.l D1
0000036E 740F moveq.l D2, 0x0F
00000370 D282 add.l D1, D2
00000372 B280 cmp.l D1, D0
00000374 6F10 ble +0x12 /* 00000386 */
00000376 3012 move.w D0, [A2]
00000378 48C0 ext.l D0
0000037A 72F1 moveq.l D1, 0xFFFFFFF1
0000037C D081 add.l D0, D1
0000037E 3F40 000C move.w [A7 + 0xC], D0
00000382 3F52 0004 move.w [A7 + 0x4], [A2]
label00000386:
00000386 302A 0004 move.w D0, [A2 + 0x4]
0000038A 48C0 ext.l D0
0000038C 322F 0010 move.w D1, [A7 + 0x10]
00000390 48C1 ext.l D1
00000392 74F1 moveq.l D2, 0xFFFFFFF1
00000394 D282 add.l D1, D2
00000396 B280 cmp.l D1, D0
00000398 6C14 bge +0x16 /* 000003AE */
0000039A 302A 0004 move.w D0, [A2 + 0x4]
0000039E 48C0 ext.l D0
000003A0 720F moveq.l D1, 0x0F
000003A2 D081 add.l D0, D1
000003A4 3F40 0010 move.w [A7 + 0x10], D0
000003A8 3F6A 0004 0008 move.w [A7 + 0x8], [A2 + 0x4]
label000003AE:
000003AE 4A83 tst.l D3
000003B0 6F08 ble +0xA /* 000003BA */
000003B2 2043 movea.l A0, D3
000003B4 43D7 lea.l A1, [A7]
000003B6 A03B syscall Delay
000003B8 2280 move.l [A1], D0
label000003BA:
000003BA 5284 addq.l D4, 1
000003BC 6000 FECA bra -0x134 /* 00000288 */
label000003C0:
000003C0 486F 0004 pea.l [A7 + 0x4]
000003C4 A8A1 syscall FrameRect
000003C6 4EAD DD78 jsr [A5 - 0x2288]
000003CA 4FEF 0014 lea.l A7, [A7 + 0x14]
000003CE 4CDF 0418 movem.l D3,D4,A2, [A7]+
000003D2 4E75 rts
000003D4 48E7 1F3A movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
000003D8 4FEF FFF4 lea.l A7, [A7 - 0xC]
000003DC 246F 0034 movea.l A2, [A7 + 0x34]
000003E0 302F 0038 move.w D0, [A7 + 0x38]
000003E4 48C0 ext.l D0
000003E6 2840 movea.l A4, D0
000003E8 7800 moveq.l D4, 0x00
000003EA 594F subq.w A7, 4
000003EC A8D8 syscall NewRgn
000003EE 205F movea.l A0, [A7]+
000003F0 2648 movea.l A3, A0
000003F2 2008 move.l D0, A0
000003F4 6700 00C2 beq +0xC4 /* 000004B8 */
000003F8 302A 0002 move.w D0, [A2 + 0x2]
000003FC 48C0 ext.l D0
000003FE 3E2A 0006 move.w D7, [A2 + 0x6]
00000402 48C7 ext.l D7
00000404 9E80 sub.l D7, D0
00000406 5587 subq.l D7, 2
00000408 3007 move.w D0, D7
0000040A 48C0 ext.l D0
0000040C 720F moveq.l D1, 0x0F
0000040E 4EAD D904 jsr [A5 - 0x26FC]
00000412 3C00 move.w D6, D0
00000414 4A46 tst.w D6
00000416 6604 bne +0x6 /* 0000041C */
00000418 3C3C 7FFF move.w D6, 0x7FFF
label0000041C:
0000041C 3012 move.w D0, [A2]
0000041E 48C0 ext.l D0
00000420 5280 addq.l D0, 1
00000422 3F40 0004 move.w [A7 + 0x4], D0
00000426 302A 0004 move.w D0, [A2 + 0x4]
0000042A 48C0 ext.l D0
0000042C 5380 subq.l D0, 1
0000042E 3F40 0008 move.w [A7 + 0x8], D0
00000432 6078 bra +0x7A /* 000004AC */
label00000434:
00000434 554F subq.w A7, 2
00000436 A861 syscall Random
00000438 301F move.w D0, [A7]+
0000043A 7200 moveq.l D1, 0x00
0000043C 3200 move.w D1, D0
0000043E 3007 move.w D0, D7
00000440 48C0 ext.l D0
00000442 2E81 move.l [A7], D1
00000444 2200 move.l D1, D0
00000446 2017 move.l D0, [A7]
00000448 4EAD D910 jsr [A5 - 0x26F0]
0000044C 3600 move.w D3, D0
0000044E 7A14 moveq.l D5, 0x14
00000450 4A43 tst.w D3
00000452 6712 beq +0x14 /* 00000466 */
00000454 3006 move.w D0, D6
00000456 48C0 ext.l D0
00000458 5284 addq.l D4, 1
0000045A B880 cmp.l D4, D0
0000045C 6D0A blt +0xC /* 00000468 */
0000045E 7800 moveq.l D4, 0x00
00000460 7600 moveq.l D3, 0x00
00000462 7A0C moveq.l D5, 0x0C
00000464 6002 bra +0x4 /* 00000468 */
label00000466:
00000466 7800 moveq.l D4, 0x00
label00000468:
00000468 7000 moveq.l D0, 0x00
0000046A 3003 move.w D0, D3
0000046C 322A 0002 move.w D1, [A2 + 0x2]
00000470 48C1 ext.l D1
00000472 5281 addq.l D1, 1
00000474 D280 add.l D1, D0
00000476 3F41 0006 move.w [A7 + 0x6], D1
0000047A 3005 move.w D0, D5
0000047C 48C0 ext.l D0
0000047E 48C1 ext.l D1
00000480 D280 add.l D1, D0
00000482 3F41 000A move.w [A7 + 0xA], D1
00000486 302A 0006 move.w D0, [A2 + 0x6]
0000048A 48C0 ext.l D0
0000048C 5380 subq.l D0, 1
0000048E 2C40 movea.l A6, D0
00000490 3001 move.w D0, D1
00000492 48C0 ext.l D0
00000494 B08E cmp.l D0, A6
00000496 6F06 ble +0x8 /* 0000049E */
00000498 200E move.l D0, A6
0000049A 3F40 000A move.w [A7 + 0xA], D0
label0000049E:
0000049E 486F 0004 pea.l [A7 + 0x4]
000004A2 2F3C 0001 0000 move.l -[A7], 0x10000
000004A8 2F0B move.l -[A7], A3
000004AA A8EF syscall ScrollRect
label000004AC:
000004AC 200C move.l D0, A4
000004AE 538C subq.l A4, 1
000004B0 4A80 tst.l D0
000004B2 6680 bne -0x7E /* 00000434 */
000004B4 2F0B move.l -[A7], A3
000004B6 A8D9 syscall DisposRgn/DisposeRgn
label000004B8:
000004B8 4FEF 000C lea.l A7, [A7 + 0xC]
000004BC 4CDF 5CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
000004C0 4E75 rts
fn000004C2:
000004C2 594F subq.w A7, 4
000004C4 4AAD CF88 tst.l [A5 - 0x3078]
000004C8 6C26 bge +0x28 /* 000004F0 */
000004CA 554F subq.w A7, 2
000004CC 2F3C 7072 6F63 move.l -[A7], 0x70726F63 /* 'proc' */
000004D2 486F 0006 pea.l [A7 + 0x6]
000004D6 4EAD DA66 jsr [A5 - 0x259A]
000004DA 301F move.w D0, [A7]+
000004DC 660E bne +0x10 /* 000004EC */
000004DE 7004 moveq.l D0, 0x04
000004E0 B097 cmp.l D0, [A7]
000004E2 6408 bcc +0xA /* 000004EC */
000004E4 7001 moveq.l D0, 0x01
000004E6 2B40 CF88 move.l [A5 - 0x3078], D0
000004EA 6004 bra +0x6 /* 000004F0 */
label000004EC:
000004EC 42AD CF88 clr.l [A5 - 0x3078]
label000004F0:
000004F0 584F addq.w A7, 4
000004F2 4E75 rts
fn000004F4:
000004F4 48E7 1E00 movem.l -[A7], D3,D4,D5,D6
000004F8 594F subq.w A7, 4
000004FA 2C2F 001C move.l D6, [A7 + 0x1C]
000004FE 362F 0018 move.w D3, [A7 + 0x18]
00000502 48C3 ext.l D3
00000504 7210 moveq.l D1, 0x10
00000506 E3AB lsl D3, D1
00000508 382F 001A move.w D4, [A7 + 0x1A]
0000050C 48C4 ext.l D4
0000050E E3AC lsl D4, D1
00000510 594F subq.w A7, 4
00000512 203C 0001 0000 move.l D0, 0x10000
00000518 9086 sub.l D0, D6
0000051A 2F00 move.l -[A7], D0
0000051C 2F03 move.l -[A7], D3
0000051E A868 syscall FixMul
00000520 201F move.l D0, [A7]+
00000522 2E80 move.l [A7], D0
00000524 594F subq.w A7, 4
00000526 2F06 move.l -[A7], D6
00000528 2F04 move.l -[A7], D4
0000052A A868 syscall FixMul
0000052C 201F move.l D0, [A7]+
0000052E D097 add.l D0, [A7]
00000530 2A00 move.l D5, D0
00000532 554F subq.w A7, 2
00000534 2F05 move.l -[A7], D5
00000536 A86C syscall FixRound
00000538 301F move.w D0, [A7]+
0000053A 584F addq.w A7, 4
0000053C 4CDF 0078 movem.l D3,D4,D5,D6, [A7]+
00000540 4E75 rts
00000542 0000 0000 ori.b D0, 0x0
00000546 0000 0000 ori.b D0, 0x0
0000054A 0000 0000 ori.b D0, 0x0